#ifndef __app_dmp_h__
#define __app_dmp_h__ 1

#include "opt.h"
#include "acn_arch.h"
#include "acnstdtypes.h"
#include "component.h"
#include "acn_dmp.h"
#include "property.h"

#ifdef __cplusplus
extern "C" {
#endif

//test function
void dmp_get(component_t *local_component, component_t *foreign_component);
void dmp_set(component_t *local_component, component_t *foreign_component);


void dmp_tx_get_prop(component_t *local_component, component_t *foreign_component, dmp_address_t *address);
void app_rx_get_property(component_t *local_component, component_t *foreign_component,
			uint8_t address_type, uint8_t *data, uint32_t data_len);
void app_rx_set_property(component_t *local_component, component_t *foreign_component,
			uint8_t address_type, uint8_t *data, uint32_t data_len);
void app_tx_set_property(component_t *local_component, component_t *foreign_component,
			dmp_address_t *address , uint8_t *ptrProperty, uint16_t sizeofProperty);

//functions for mem

#ifdef __cplusplus
}
#endif


#endif /* __dmp_h__ */
